/* 根标签 */

.selectorl {
    position: relative;
    width: 100%;
    height: 100%;
}


/* 选择标签 */

.selectorl>.pointer {
    position: relative;
    box-sizing: border-box;
    width: 100%;
    height: 100%;
    padding: 0 4px;
    border: transparent solid 2px;
    border-radius: 5px;
    cursor: pointer;
    background-color: rgb(235, 235, 235);
    transition: all 300ms linear;
}

.selectorl>.pointer>label {
    position: absolute;
    top: 50%;
    transform: translateY(-50%) translateY(-1px);
    cursor: pointer;
}

.selectorl.active>.pointer {
    border-color: rgb(235, 235, 235);
    border-left-color: rgb(235, 235, 235);
    border-right-color: rgb(235, 235, 235);
    border-radius: 5px 5px 0 0;
    background-color: white;
}


/* 选择面板 */

.selectorl>.options {
    position: absolute;
    top: calc(100% - 2px);
    width: 510px;
    padding: 3px;
    border: rgb(235, 235, 235) solid 2px;
    border-radius: 0 5px 5px 5px;
    background-color: white;
    opacity: 0;
    transform: scale(0);
    transform-origin: 0 0 0;
    transition: all 200ms ease-in-out;
}

.selectorl>.options.small {
    height: 180px;
}

.selectorl>.options.middle {
    height: 300px;
}

.selectorl>.options.big {
    height: 500px;
}

.selectorl.active>.options {
    transform: scale(1);
    opacity: 1;
}


/* 选择面板 - 取消按钮 */

.selectorl>.options>.cancel {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 9;
    width: 16px;
    height: 16px;
    border: rgb(180, 180, 180) solid 2px;
    border-radius: 50%;
    transform: translate(50%, -50%);
    font-size: 18px;
    text-align: center;
    line-height: 14px;
    vertical-align: middle;
    color: rgb(180, 180, 180);
    background-color: white;
    cursor: pointer;
}

.selectorl>.options>.cancel::before {
    content: "×";
}

.selectorl>.options>.cancel:hover {
    border-color: red;
    color: red;
}


/* 选择面板 - 分栏 */

.selectorl>.options>.left,
.selectorl>.options>.right {
    display: inline-block;
    box-sizing: border-box;
    height: 100%;
    vertical-align: bottom;
}

.selectorl>.options>.left {
    width: 160px;
    padding: 5px 10px;
    overflow-y: auto;
}

.selectorl>.options>.right {
    position: relative;
    box-sizing: border-box;
    width: 340px;
    height: 100%;
    border-left: rgb(222, 222, 222) solid 2px;
}


/* 选择面板 - 左栏 */

.selectorl>.options>.left>div {
    margin: 5px 0;
    padding: 5px;
    border: transparent solid 1px;
    border-radius: 5px;
    font-size: 14px;
    text-align: center;
    cursor: pointer;
}

.selectorl>.options>.left>div:hover,
.selectorl>.options>.left>div.active {
    background-color: rgb(245, 245, 245);
    border-color: rgb(235, 235, 235);
    color: red;
}


/* 选择面板 - 右栏 */

.selectorl>.options>.right>.right-con {
    position: absolute;
    top: 0;
    right: 0;
    box-sizing: border-box;
    width: 100%;
    height: 100%;
    padding: 15px 15px;
    display: inline-flex;
    row-gap: 10px;
    column-gap: 5px;
    flex-wrap: wrap;
    align-content: flex-start;
    overflow-y: auto;
    opacity: 0;
    transition: opacity 300ms linear;
}

.selectorl>.options>.right>.right-con.active {
    opacity: 1;
    z-index: 1;
}

.selectorl>.options>.right>.right-con>div {
    height: 18px;
    padding: 1px 5px;
    border: transparent solid 2px;
    border-radius: 5px;
    font-size: 12px;
    letter-spacing: 1px;
    line-height: 18px;
    text-align: center;
    color: black;
    background-color: rgb(202, 205, 214);
    cursor: pointer;
}

.selectorl>.options>.right>.right-con>div:hover,
.selectorl>.options>.right>.right-con>div.active {
    background-color: white;
    border-color: skyblue;
}

.selectorl>.options>.right>.right-con>div:hover {
    color: orange;
}

.selectorl>.options>.right>.right-con>div.active {
    color: tomato;
}

.selectorl>.options>.right>.right-con>div.active::after {
    display: inline-block;
    box-sizing: border-box;
    width: 1.1em;
    height: 1.1em;
    margin-left: 3px;
    border: green solid 1px;
    border-radius: 50%;
    content: "√";
    font-size: 1em;
    font-weight: bolder;
    vertical-align: middle;
    line-height: 1em;
    color: green;
}